package com.topvision.myviewtest.mvp.demo3.base;

/**
 * @author lucy
 * @description 指定绑定的View必须继承自IMvpBaseView4
 * @date 2017-12-11 17:12
 */

public abstract class AbstractMvpPresenter3<V extends IMvpBaseView3> {
    private V mV;

    /** 绑定 */
    public void attachMvpView(V v){
        mV = v;
    }
    /** 解绑 */
    public void detachMvpView() {
        mV = null;
    }
    /** 获取V层 */
    public V getMvpView() {
        return mV;
    }
}
